package com.zhuo.mp.simple.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data   //生成get\set方法
@NoArgsConstructor  //无参构造
@AllArgsConstructor //全参构造
@TableName("tb_user")   //指定对应的数据库表名
public class User {
    private Long id;
    private String userName;
    private String password;
    private String name;
    private Integer age;
    private String email;
}
